package com.example.haoqisystem.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.nio.file.Path;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "发送邮件")
public class EmailRequest {
    @ApiModelProperty(value = "目的邮箱")
    private String to;

    @ApiModelProperty(value = "邮件主题")
    private String subject;

    @ApiModelProperty(value = "邮件内容")
    private String body;

    @ApiModelProperty(value = "附件路径")
    private Path attachmentPath;
}












